
FUNCTION_BLOCK ViSetRepetitiveMode (*Enable or disable repetive mode*)
	VAR_INPUT
		Identifier : REFERENCE TO VisionIdentType; (*Ident of Automation Component*)
		Stop : BOOL;
		Start : BOOL;
	END_VAR
	VAR_OUTPUT
		Error : BOOL;
		StatusID : VisionErrorIDs;
		Busy : BOOL;
		Done : BOOL;
	END_VAR
	VAR
		Internal : ViLibraryInternalType;
	END_VAR
END_FUNCTION_BLOCK

FUNCTION_BLOCK ViConfigComponent (*Get / Set Application for camera*)
	VAR_INPUT
		Identifier : REFERENCE TO VisionIdentType; (*Ident of Automation Component*)
		Application : STRING[255]; (*Name of Application*)
		Load : BOOL; (*Returns Current Name in Application*)
		Save : BOOL; (*Persits the new link*)
	END_VAR
	VAR_OUTPUT
		Error : BOOL;
		StatusID : VisionErrorIDs;
		CommandBusy : BOOL;
		CommandDone : BOOL;
	END_VAR
	VAR
		Internal : ViLibraryInternalType;
	END_VAR
END_FUNCTION_BLOCK

FUNCTION_BLOCK ViConfigGetHwAddress
	VAR_INPUT
		Identifier : REFERENCE TO VisionIdentType; (*Ident of Automation Component*)
		Execute : BOOL;
	END_VAR
	VAR_OUTPUT
		Error : BOOL;
		StatusID : VisionErrorIDs;
		Busy : BOOL;
		Done : BOOL;
		HwAddress : STRING[255];
	END_VAR
	VAR
		Internal : ViLibraryInternalType;
	END_VAR
END_FUNCTION_BLOCK

FUNCTION_BLOCK ViReadParametersFromCamera (*Read and Save Parameters from camera to local store*)
	VAR_INPUT
		Identifier : REFERENCE TO VisionIdentType; (*Ident of Automation Component*)
		Execute : BOOL;
	END_VAR
	VAR_OUTPUT
		Error : BOOL;
		StatusID : VisionErrorIDs;
		Busy : BOOL;
		Done : BOOL;
	END_VAR
	VAR
		Internal : ViLibraryInternalType;
	END_VAR
END_FUNCTION_BLOCK

FUNCTION_BLOCK ViWriteParametersToCamera (*Write Parameters from local store to Camera*)
	VAR_INPUT
		Identifier : REFERENCE TO VisionIdentType; (*Ident of Automation Component*)
		Execute : BOOL;
	END_VAR
	VAR_OUTPUT
		Error : BOOL;
		StatusID : VisionErrorIDs;
		Busy : BOOL;
		Done : BOOL;
	END_VAR
	VAR
		Internal : ViLibraryInternalType;
	END_VAR
END_FUNCTION_BLOCK
